<template>
  <footer class="app-footer">
    <div class="footer-container">
      <div class="footer-content">
        <div class="footer-section">
          <h3>关于我们</h3>
          <p>专业的二手交易平台，为您提供安全可靠的二手商品交易服务。</p>
        </div>
        
        <div class="footer-section">
          <h3>快速链接</h3>
          <ul>
            <li><router-link to="/">首页</router-link></li>
            <li><router-link to="/publish">发布商品</router-link></li>
            <li><router-link to="/cart">购物车</router-link></li>
            <li><router-link to="/profile">个人中心</router-link></li>
          </ul>
        </div>
        
        <div class="footer-section">
          <h3>联系我们</h3>
          <p>邮箱: support@secondhand.com</p>
          <p>电话: 400-123-4567</p>
        </div>
        
        <div class="footer-section">
          <h3>关注我们</h3>
          <div class="social-links">
            <span>微信</span>
            <span>微博</span>
            <span>抖音</span>
          </div>
        </div>
      </div>
      
      <div class="footer-bottom">
        <p>&copy; 2025 二手交易平台. 版权所有.</p>
      </div>
    </div>
  </footer>
</template>

<script setup>
</script>

<style scoped>
.app-footer {
  background-color: #2c3e50;
  color: white;
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 15px;
  color: #ecf0f1;
  font-size: 18px;
}

.footer-section p {
  margin: 5px 0;
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #3498db;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links span {
  padding: 8px 12px;
  background-color: #34495e;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.social-links span:hover {
  background-color: #3498db;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #95a5a6;
}
</style>